<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/video-js.min.css" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/video.min.js"></script>
    <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/videojs-flash.min.js"></script>-->
</head>
<body>
<video id='myvideo' width=960 height=540 class="video-js vjs-default-skin" controls>
    <!-- RTMP直播源地址-->
    <source src="rtmp://58.200.131.2:1935/livetv/cctv2">
</video>
<script>
    var player = videojs('myvideo', {}, function(){console.log('videojs播放器初始化成功')})
    player.play();
</script>
</body>
</html>
